package innerclass2;
//外部类
public class Outer1 {
    private int a;//实例成员变量

    //静态内部类：属于外部类本身持有
    public static class Inner {
        public void show()
        {
            System.out.println("show()");
           //System.out.println(a);//报错
        }
    }
}
